import { SvgConfig } from '@/components/svgDesign/type'
import request from '@/utils/request'

export const getIconApi = (name: string) => {
  return request<SvgConfig>({
    url: `/icons/${name}`,
    method: 'get'
  })
}
